﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UserProfile.ascx.cs" Inherits="TGVR.Manager.UserControls.Template.SystemUser.UserProfile" %>
<ul id="mobile-profile-img" class="header-dropdown-list hidden-xs padding-5">
    <li class="">
        <a href="#" class="dropdown-toggle no-margin userdropdown" data-toggle="dropdown">
            <img id="userAvatar" src="<%= Session["user"] == null ? "/App_Themes/SmartAdmin/img/avatars/male.png" : "http://thegioivere.net" + ((MDF.DataHelper.BussinessObject.UsersBO.UserProfile)Session["user"]).Avatar %>" alt="User avatar" class="online" />
            <script type="text/javascript">
                var im = document.getElementById('userAvatar');
                im.onerror = function () {
                    im.src = "/App_Themes/SmartAdmin/img/avatars/male.png";
                };
            </script>
        </a>
        <ul class="dropdown-menu pull-right">
            <li>
                <a href="javascript:void(0);" class="padding-10 padding-top-0 padding-bottom-0"><i class="fa fa-lock"></i>&nbsp;Đổi mật khẩu</a>
            </li>
            <li class="divider"></li>
            <li>
                <a href="javascript:void(0);" class="padding-10 padding-top-0 padding-bottom-0"><i class="fa fa-user"></i>&nbsp;Trang cá nhân</a>
            </li>
            <li class="divider"></li>
            <li>
                <a href="javascript:void(0);" class="padding-10 padding-top-0 padding-bottom-0" data-action="launchFullscreen"><i class="fa fa-arrows-alt"></i>&nbsp;Toàn màn hình</a>
            </li>
            <li class="divider"></li>
            <li>
                <a href="/Logout.aspx" class="padding-10 padding-top-5 padding-bottom-5" data-action="userLogout"><i class="fa fa-sign-out fa-lg"></i><strong>Đăng xuất</strong></a>
            </li>
        </ul>
    </li>
</ul>
